package com.fqgj.xjd.user.client.request;


import com.fqgj.xjd.user.client.enums.PlatformEnum;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/2/28
 * Time: 下午3:40
 */
public class UserAppInfo implements Serializable {

    private static final long serialVersionUID = -6830806439046034193L;
    private String clientId;

    private PlatformEnum platform;

    private String version;

    private String versionCode;

    private String ip;

    private String channel;

    private Integer channelId;
    
    private String guestId;

    private String packageName;

    /**
     * appsflyerId
     */
    private String appsflyerId;

    public UserAppInfo() {
    }

    public UserAppInfo(String clientId, PlatformEnum platform, String version) {
        this.clientId = clientId;
        this.platform = platform;
        this.version = version;
    }
    
    public UserAppInfo(String clientId, PlatformEnum platform, String version, String channel, String guestId) {
        this.clientId = clientId;
        this.platform = platform;
        this.version = version;
        this.channel = channel;
        this.guestId = guestId;
    }

    public UserAppInfo(String clientId, PlatformEnum platform, String version, String channel, String guestId, String packageName) {
        this.clientId = clientId;
        this.platform = platform;
        this.version = version;
        this.channel = channel;
        this.guestId = guestId;
        this.packageName = packageName;
    }

    public String getAppsflyerId() {
        return appsflyerId;
    }

    public UserAppInfo setAppsflyerId(String appsflyerId) {
        this.appsflyerId = appsflyerId;
        return this;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public UserAppInfo setVersionCode(String versionCode) {
        this.versionCode = versionCode;
        return this;
    }

    public String getIp() {
        return ip;
    }

    public UserAppInfo setIp(String ip) {
        this.ip = ip;
        return this;
    }

    public String getPackageName() {
        return packageName;
    }

    public UserAppInfo setPackageName(String packageName) {
        this.packageName = packageName;
        return this;
    }

    public String getChannel() {
        return channel;
    }

    public UserAppInfo setChannel(String channel) {
        this.channel = channel;
        return this;
    }

    public String getClientId() {
        return clientId;
    }

    public UserAppInfo setClientId(String clientId) {
        this.clientId = clientId;
        return this;
    }

    public PlatformEnum getPlatform() {
        return platform;
    }

    public UserAppInfo setPlatform(PlatformEnum platform) {
        this.platform = platform;
        return this;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public UserAppInfo setChannelId(Integer channelId) {
        this.channelId = channelId;
        return this;
    }

    public String getVersion() {
        return version;
    }

    public UserAppInfo setVersion(String version) {
        this.version = version;
        return this;
    }
    
    public String getGuestId() {
        return guestId;
    }
    
    public UserAppInfo setGuestId(String guestId) {
        this.guestId = guestId;
        return this;
    }


}
